<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $keys->getLang();?>" lang="<?php echo $keys->getLang();?>">
<head>
  <title><?php echo $keys->appTitle; ?></title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<style type="text/css" media="screen"> /*<![CDATA[*/ <!--
    @import url(style/budget.css);
    @import url(style/colors.css);
    @import url(style/tables.css);
    --> /*]]>*/
    </style>
    <style type="text/css" media="print"> /*<![CDATA[*/ <!--
    @import "template/print.css";
    --> /*]]>*/
    </style>
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="js/jquery.livequery.min.js"></script>
<script type="text/javascript" src="js/ajaxfileupload.js"></script>
<script type="text/javascript" src="js/table_row.js"></script>
<script type="text/javascript" src="js/process.js"></script>
</head>
<body>
<div id="wrapper1">
  <div id="wrapper2">
    <div class="header" id="header">
      <h1><a href="#" action="home"><?php echo $keys->pageTitle_ReportMain; ?></a></h1>
      <OBJECT id="clock" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="100" HEIGHT="100">
        <PARAM NAME=movie VALUE="style/clock.swf">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFFF>
        <embed src="style/clock.swf" width="100" height="100" wmode="transparent" type="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"/>
      </OBJECT>
        <ul>
          <li><a href="#" action="tableDebits" id="seeDebit"><?php echo $keys->link_debits; ?></a></li>
          <li><a href="#" action="tableCredits" id="seeCredit"><?php echo $keys->link_credits; ?></a></li>
          <li><a href="#" action="tableOverview" id="overview"><?php echo $keys->link_overview; ?></a></li>
          <li id="loading"><img src="style/loading.gif"></li>
        </ul>
    </div>
    <div class="columns">
      <div class="leftcolumn sidebar" id="sidebar-left">
        <div class="leftpadding">
          <div class="content">
            <div id="dateform"><form id="dateForm">
              <label><?php echo $keys->link_pickaDate; ?></label>
              <select class="selectDates" id="range">
                <option value="3"><?php echo $keys->text_last3Month; ?></option>
                <option value="6"><?php echo $keys->text_last6Month; ?></option>
                <option value="12"><?php echo $keys->text_last12Month; ?></option>
              </select>
              <input type="submit" name="submit" value="Go" class="submit" />
              </form>
            </div>
          </div>
          <div class="content">
            <div id="categories">
              <ul>
                <li class="home"></li><li></li>
                <?php echo $keys->link_menuActions; ?>
                <li><a href="#" action="editCategories"><?php echo $keys->link_editCategory; ?></a></li>
                <li><a href="#" action="editKeywords"><?php echo $keys->link_editKeywords; ?></a></li>
                <li><a href="#" action="uploadQif"><?php echo $keys->link_uploadQif; ?></a></li>
                <li><a href="#" action="autoFileItem"><?php echo $keys->link_autoSort; ?></a></li>
                <?php echo $keys->link_menuReports; ?>
                <li><a href="#" action="graph"><?php echo $keys->link_Graph; ?></a></li>
                <?php echo $keys->link_menuAccount; ?>
                <li><a href="#" action="settings"><?php echo $keys->link_pageSettings; ?></a></li>
                <li><a href="#" action="backup"><?php echo $keys->link_pageBackup; ?></a></li>
                <?php if(class_settings::$secureAccess === '1') { ?>
                <li><a href="#" action="login"><?php echo $keys->link_logout; ?></a></li>
                <?php } ?>
              </ul>
            </div>
          </div>
          <div class="content">
            <div id="search"><form id="searchForm">
              <label><?php echo $keys->text_Search; ?></label>
              <input size="5" alt="search..." class="inputfield" type="text" name="search" id="keys" />
              <input type="submit" name="submit" value="Go" class="submit" />
              </form>
            </div>
          </div>
        </div>
      </div>
      <div class="centercolumn">
        <div class="centerpadding">
          <div class="main-content" id="main">
          <?php echo class_controller::$output; ?></div>
        </div>
      </div>
    </div>
  <div class="clearing"></div>
    <div id="footer" class="footer">
      <!-- please do not remove the following line -->
      <p id="copyrightnote"><?php @include("ver.txt"); ?></p>
    </div>
  </div>
<?php
echo class_debug::displayMsg();
?>
</div>
</body>
</html>